package pro.wxls.common.utils;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResultData extends Result{
    /**
     * 返回的对象
     */
    private Object data;

    public static ResultData success(Object data) {
        return new ResultData(data);
    }
}
